Repository navigation
0.9.0 (prepared, not published): ./devnet onboarding, and no test-network address in the package - #5
Merged
Merged
Conversation
…rk one call per step A devnet profile that ships no test-network address or URL: chain id, RPC and contracts are read at runtime from options, the environment, or the API's own registry (GET /pools/networks, GET /rpc/:chainId), each field with its source. The onboarding steps as calls: findSellers, mcpTools, checkSeller, openPoolPlan, poolOpened, edgeAgreement, edgeBody, writeEdge, readEdge, faucetMintCalls, claimGas, fundPoolPlan, quoteEdge, hire, deliver, grade (binary, the grader's RUBRIC_v1 thresholds), decisionDigest, settle, callEdge, meterLines, agreementState. Money calls refuse any chain but the profile's and any chain with value. npm run e2e:devnet onboards one seller end to end (scripts/devnet-onboard.mjs, not published). DEVNET.md is the internal note (not in files). 32 unit tests over mocked fetch.
… comments POOL_FACTORY, GRADE_STAMP_REGISTRY and ERC8004_DEPLOYMENTS lose their test-network rows, and JEV_DECISION_LOG_DEVNET is removed; createPoolCalls takes factory, poolsOpenOn takes factories and encodeStamp takes registry for a test network. Both registry generators skip devnet-only rows. Two comments no longer name the layer or its repos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
./devnettakes one seller to a working edge on a test network, one call per step. The steps are profile, find,check, edge (pool + signed agreement + record), fund, quote, hire, deliver, grade, settle, and reading back the meter
lines and the agreement.
./onboard(transport, hashes) and./pools(deposit calls).The profile ships no test-network value. It reads the chain id, RPC, hook, factory and token at runtime: from
options, from env (
MOONBEAM_DEVNET_*), or from the API's own registry (GET /pools/networks,GET /rpc/:chainId).Each field records which source gave it.
Grades are binary. The grader's complete or reject stands. Any other grade completes when
spec_met > 0.4andcheat_shaped < 0.5(the grader'sRUBRIC_v1).npm run e2e:devnet(scripts/devnet-onboard.mjs, not published) onboards one seller end to end.DEVNET.mdisthe internal note; it is not in
files.Removed from the package: the test-network rows that 0.8.0 shipped.
JEV_DECISION_LOG_DEVNETPOOL_FACTORY[36927]: passfactory, orfactoriestopoolsOpenOnGRADE_STAMP_REGISTRY[36927]: passregistryERC8004_DEPLOYMENTSdevnet rowThe generators skip
devnet-onlyrows. Two source comments no longer name the layer.Version is 0.9.0 in
package.jsonandCHANGELOG.md. Not published.Checks
npm run checkpasses: typecheck, build, 731 tests (9 skipped), pins ok. 32 new tests run over mocked fetch.npm packtree.assurance-shared.ts(upstream only).
Ran for real (devnet)
One seller, DrHobbs Knowledge Sales Agent (8453:55552), went all the way through to Completed:
edge_ae6bfa8580d017b1, live;0xf8bf8b65…cbb6.The edge call, meter and agreement reads answer
pendinguntil the layer routes those operations.Still in the package (for the owner)
@taifoon/jevand@taifoon/jev-wilson.taifoon.*.v1domain strings in stamp, payment-scheme and assurance-shared. These are on-chain hash domains:changing them changes the hashes.
assurance-shared.tscopy, which carries devnet rows and layer names. It is pinned, so it changes onlyupstream.